package cn.mysdp.biz.controller;


import cn.mysdp.biz.dto.request.*;
import cn.mysdp.biz.dto.response.*;
import cn.mysdp.biz.facade.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.util.Date;
import java.util.List;

/**
 * @ClassName: SdpWorkspaceConfigWebBaseController
 * @Description:
 * @Author: SDP
 * @Date: 2021-10-30
 * @Version: 1.0
 * Table: sdp_workspace_config
 * Comment:
 * 
 */
public class SdpWorkspaceConfigWebBaseController extends BaseController {
    @Autowired
    SdpWorkspaceConfigFacade service;

    public Integer addSdpWorkspaceConfig(SdpWorkspaceConfigAddRequest request) throws Exception {
        return service.addSdpWorkspaceConfig(request);
    }

    public Integer updateSdpWorkspaceConfig(SdpWorkspaceConfigUpdateRequest request) throws Exception {
        return service.updateSdpWorkspaceConfig(request);
    }

    public Integer deleteSdpWorkspaceConfig(SdpWorkspaceConfigDeleteRequest request) throws Exception {
        return service.deleteSdpWorkspaceConfig(request);
    }

    public SdpWorkspaceConfigQueryResponse querySdpWorkspaceConfig(SdpWorkspaceConfigQueryRequest request) throws Exception {
        return service.querySdpWorkspaceConfig(request);
    }

    public List<SdpWorkspaceConfigQueryResponse> listSdpWorkspaceConfig(SdpWorkspaceConfigQueryRequest request) throws Exception {
        return service.listSdpWorkspaceConfig(request);
    }

    public Integer countSdpWorkspaceConfig(SdpWorkspaceConfigQueryRequest request) throws Exception {
        return service.countSdpWorkspaceConfig(request);
    }

    public BaseStatResponse statSdpWorkspaceConfig(SdpWorkspaceConfigQueryRequest request) throws Exception {
        return service.statSdpWorkspaceConfig(request);
    }


    public Integer batchUpdateValue(SdpWorkspaceConfigAddRequest request) throws Exception {
        return service.batchUpdateValue(request);
    }

    public Integer clone(BaseNameIdRequest request) throws Exception {
        return service.clone(request);
    }

}
